package com.mediastory.spsserver.notice.dao;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.notice.domain.Notice;

/**
 * Notice Dao
 * @author Jaewon Choi
 *
 */

public interface NoticeDao {
	
	public List<Notice> SelectList(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCnt(Map<String, Object> condition) throws Exception;
	
	public Notice select(Integer id) throws Exception;
	
	public Notice select(Map<String, Object> condition) throws Exception;
	
	public Notice insert(Notice notice) throws Exception;
	
	public Notice update(Notice notice) throws Exception;
	
	public int delete(Map<String, Object> condition) throws Exception;
	
	public int updateSetIsMain(Map<String, Object> condition) throws Exception;

}